package com.hetao.abstr;

import com.hetao.IPhone;
import com.hetao.Xiaomi;
import com.hetao.Phone;
import com.hetao.HuaWei;

/**
 * Created by hetao on 2018/3/12.
 */
public class PhoneFactory extends AbstractFactory {
    public Phone getXiaomi() {
        return new Xiaomi();
    }

    public Phone getHuaWei() {
        return new HuaWei();
    }

    public Phone getIPhone() {
        return new IPhone();
    }
}
